﻿using Business.Service;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Business.Dto
{
    /// <summary>
    /// 货位报表的条件
    /// </summary>
    public class LocationReportInput
    {
        /// <summary>
        /// 订单号
        /// </summary>
        public string SheetID { get; set; }

        /// <summary>
        /// 供应商
        /// </summary>
        public string VenderCode { get; set; }

        /// <summary>
        /// 订货单状态
        /// </summary>
        public string Flag { get; set; }


        public DateTime? OrderDate { get; set; }

        public string GoodsCode { get; set; }

        public string GoodsName { get; set; }

        /// <summary>
        /// 商品库号
        /// </summary>
        public string CellNo { get; set; }

        /// <summary>
        /// 货位类型
        /// </summary>
        public string LocationType { get; set; }

        /// <summary>
        /// 货位编码
        /// </summary>
        public string LocationCode { get; set; }

        /// <summary>
        /// 上架/下架原因
        /// </summary>
        public string ObjectType { get; set; }

        /// <summary>
        /// 下架类别
        /// </summary>
        public string OffshelvesType { get; set; }

        /// <summary>
        /// 选择时间开始
        /// </summary>
        public DateTime? SelectDateStart { get; set; }

        /// <summary>
        /// 选择时间结束
        /// </summary>
        public DateTime? SelectDateEnd { get; set; }



      

        /// <summary>
        /// 波次号：
        /// </summary>
        public string BatchNo { get; set; }

        /// <summary>
        /// 人员编号
        /// </summary>
        public string UserCode { get; set; }

        /// <summary>
        /// 人员姓名
        /// </summary>
        public string username { get; set; }        

        

        /// <summary>
        /// 创建时间开始
        /// </summary>
        public DateTime? createdateStart { get; set; }
        /// <summary>
        /// 创建时间结束
        /// </summary>
        public DateTime? createdateEnd { get; set; }

        /// <summary>
        /// 指定配送日期开始
        /// </summary>
        public DateTime? OffshelvesDateStart { get; set; }
        /// <summary>
        /// 指定配送日期结束
        /// </summary>
        public DateTime? OffshelvesDateEnd { get; set; }

        /// <summary>
        /// 调整人
        /// </summary>
        public string Creator { get; set; }

        /// <summary>
        /// 仓库类别
        /// </summary>
        public string WarehouseCode { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public string Status { get; set; }
        

        public int ReportType { get; set; }

        public LocationReportType ReportTypeEnum
        {
            get
            {
                return (LocationReportType)ReportType;
            }
        }

    }
}
